#include <stdio.h>
#include <stdlib.h>
#include "mkEqu.h"

int main() {
  matrix *m = mkMatrix(5, 5);
  matrix *n;
  int i, j;



  for (i=0;i<m->width;i++)
    for (j=0;j<m->height;j++)
      setMElement(m, j, i, i);
  
  n = transpose(m);

  for (i=0;i<m->width;i++) {
    for (j=0;j<m->height;j++)
      printf("%f ", getMElement(m, j, i));
    printf("\n");
  }

  freeMatrix(m);
  freeMatrix(n);
  return 0;
}
